fbb23de7e37ec64d59c38ad6b9dcfa4042ebb242,easyreport-web/src/main/java/com/easytoolsoft/easyreport/web/controller/metadata/ConfController.java,ConfController,remove,#number#HttpServletRequest#,98

Before Change


    @RequestMapping(value = "/remove")
    public JsonResult remove(int id, HttpServletRequest req) {
        JsonResult<String> result = new JsonResult<>();
        try {
            this.confService.removeById(id);
            this.logSuccessResult(result, String.format("删除�置项[ID:%s]�作�功!", id), req);
        } catch (Exception ex) {
            result.setMsg(String.format("删除�置项[ID:%s]�作失败!", id));
            this.logExceptionResult(result, ex, req);
        }
        return result;
    }

After Change


    @RequestMapping(value = "/remove")
    public JsonResult remove(int id) {
        JsonResult<String> result = new JsonResult<>();
        this.service.removeById(id);
        return result;
    }
}